package com.myproject.filmrecommendationsys.domain;

import java.util.Date;
import lombok.Data;
/**
 * 收藏对象 favorite
 */
@Data
public class Favorite
{
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long userId;
    private String filmIds;
    private Date createdTime;
    private Date updatedTime;

    public Favorite(Long id, Long userId, String filmIds, Date createdTime, Date updatedTime) {
        this.id = id;
        this.userId = userId;
        this.filmIds = filmIds;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
    }


    public Favorite() {}

    @Override
    public String toString() {
        return "Favorite{" +
                "id=" + id +
                ", userId=" + userId +
                ", filmIds='" + filmIds + '\'' +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
